package com.atguigu.acyjl;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity
public class Idiom {
    @PrimaryKey(autoGenerate = true)
    private int id;

    @ColumnInfo(name = "cy")
    private String idiom;

    @ColumnInfo(name = "meaning")
    private String meaning;

    public String getMeaning() {
        return meaning;
    }

    public void setMeaning(String meaning) {
        this.meaning = meaning;
    }

    public Idiom(String idiom) {
        this.idiom = idiom;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIdiom() {
        return idiom;/////////////////////////
    }

//    public String getName() {
//        return name;
//    }

    public void setIdiom(String idiom) {
        this.idiom = idiom;
    }


}
